<?php

return [
    'default' => 'mysql',
    'connections' => [
        'mysql' => [ // mysql为连接名
            'driver' => getenv('TYPE'),
            'host' => getenv('HOSTNAME') ?: "127.0.0.2",
            'port' => getenv('HOSTPORT') ?: "3306",
            'database' => getenv('DATABASE'),
            'username' => getenv('USERNAME'),
            'password' => getenv('PASSWORD'),
            'charset' => getenv('CHARSET') ?: "utf8mb4",
            'collation' => getenv('COLLATION') ?: "utf8mb4_general_ci",
            'prefix' => getenv('PREFIX') ?: "",
        ],

    ],
];
